* {
    list-style: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
    color: #666;
    font-family: "Microsoft Yahei", Helvetica, Arial, sans-serif;
}

.con {
    width: 100vw;
    min-height: 100vh;
    /* background: #4FB4DE; */
    background: linear-gradient(rgba(251, 122, 255, 0.2), rgb(146, 157, 255)); 
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 35px;
}

.reg_form {
    background: #fff;
    padding: 10px 50px 30px;
    width: 90vw;
    max-width: 1200px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 3px 3px 5px rgba(8, 8, 8, 0.3);
}

.login_form {
    background: #fff;
    padding: 10px 50px 30px;
    width: 90vw;
    max-width: 450px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 3px 3px 5px rgba(8, 8, 8, 0.3);
} 

.tc {
    padding: 8px 0;
    text-align: center;
}

.tc h1 {
    font-size: 1.6em;
    line-height: 80px;
}

.row {
    /* height: 35px; */
    margin-bottom: 15px;
    clear: both;
    white-space: nowrap;
    display: flex;
    flex-flow: row;
    align-items: center;
}

.row .fl {
    flex: 4;
    min-width: 80px;
    text-align: right;
}

.row .fr {
    flex: 7;
    max-width: 70%;
}


.fr input, .fr select,.fr textarea {
    max-width: 100%;
}

.chk a {
    font-size: 0.8em;
    margin-left: 10px;
    cursor: pointer;
}

.chk {
    display: flex;
    flex-flow: row;
    align-items: center;
}

#loginshowkey img {
    margin-left: 10px;
    height: 25px;
    cursor: pointer;
}
#regshowkey img {
    margin-left: 10px; 
    cursor: pointer;
}

input[type="password"],
input[type="text"] {
    height: 35px;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

textarea {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

select {
    height: 35px;
    padding: 8px;
    border-radius: 5px;
    font-size: 12px;
    border: 1px solid #ccc;
}

select option {
    font-size: 12px;
}

input[type="submit"] {
    width: 50%;
    min-width: 100px;
    padding: 8px;
    cursor: pointer;
    border: none;
    background: rgb(146, 157, 255); 
    color: #fff;
    border-radius: 8px;
    font-size: 1.125em;
}

input[type="submit"]:hover {
    color: rgb(251, 255, 0);
}

input[id="key"] {
    max-width: 80px;
}

.error_tip{ font-size: 0.8em; color:red; display: none;}
 
input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{
	color:#999;
	font-size:0.8em;
}

input:-moz-placeholder,textarea:-moz-placeholder{
	color:#999;
	font-size:0.8em;
}

input::-moz-placeholder,textarea::-moz-placeholder{
	color:#999;
	font-size:0.8em;
}
input:-ms-input-placeholder,textarea:-ms-input-placeholder{
	color:#999;
	font-size:0.8em;
}

@media screen and (max-width:960px) {
    .error_tip{width: 100%; float: left;} 
    .reg_form{margin: 10px auto;}
}

@media screen and (min-width:500px) {
    input[type="password"],textarea,
input[type="text"] {
    width: 70%;
}
}

@media screen and (max-width:500px) {
    .login_form {
        padding: 30px 20px;
        width: 95vw;
    }
    .reg_form {
        padding: 30px 20px;
        width: 100vw;
        min-height: 100vh;
        border-radius:0;
    }
    .row .fl {  
        flex: 3;   
        min-width: 80px;        
    }
    
    .row .fr {
        flex: 9;   
    }

    

}

@media screen and (max-width:360px) {
    * {
        font-size: 14px;
    }
}